<h2><?php echo $thread->name ?></h2>
<span class="thread_desc"><?php echo $thread->description ?></span>
<?php if(!$thread->posts): ?>
  <p>No posts.</p>
<?php else: ?>
  <?php add_filter('post_body','textilize') ?>
  <ol id="posts">
    <?php foreach($thread->posts as $post): ?>
    <li class="post" id="post-<?php echo $post->id ?>">
      <span class="post_name"><?php echo $post->name ?></span> 
      <span class="post_time"><?php echo superTimeDiff($post->time) ?></span><br />
      <span class="post_body"><?php echo do_filters('post_body',$post->body) ?></span>
    </li>
    <?php endforeach ?>
  </ol>
<?php endif ?>
<div id="leave-a-post">
  <h3>Say Something!</h3>
  <form method="post" action="<?php echo getURL("threads/savepost/$ident") ?>">
    <input type="text" name="post_name" value="" > Name<br />
    <textarea name="post_body" rows="8" cols="40"></textarea><br />
    <input type="submit" name="some_name" value="Say It" accesskey="s">
  </form>
</div>